<template>
  <div class="test-season">
    <div style="margin-top: 20px">
      <SeasonSelector :value.sync="value" @change="onChange"></SeasonSelector>
    </div>
    <div style="margin-top: 20px">
      <el-date-picker
        v-model="value2" type="week" format="yyyy 第 WW 周" placeholder="选择周" @change="onChange"
        value-format="yyyyMMdd" size="mini"
      ></el-date-picker>
    </div>
  </div>
</template>
<script>
import SeasonSelector from "@/components/seasonSelector";
export default {
  components: {SeasonSelector},
  data() {
    return {
      value: ['202202', '202205'],
      value2: '',
    };
  },
  mounted() {
  },
  methods: {
    onChange(val) {
      console.log(val);
    }
  },
};
</script>
<style lang="scss">
.test-season {
}
</style>